<template>
  <view class="enterpriseCert">
    <view class="item">
      <view class="title">手机号码</view>
      <input
        v-model.trim="phone"
        placeholder="请输入联系电话"
        maxlength="11"
        class="flex input-class common-bg-white"
        placeholder-class="placeholder-class"
      />
    </view>
    <view class="item">
      <view class="title">密码(6为数字)</view>
      <input
        v-model.trim="pwd"
        placeholder="请输入6位数字密码"
        maxlength="6"
        type="numeric"
        class="flex input-class common-bg-white"
        placeholder-class="placeholder-class"
      />
    </view>

    <view class="footer">
      <view
        :class="['btn', phone && pwd ? 'next-active' : 'next']"
        @click="handleLogin"
      >
        登录账号
      </view>
      <custom-ButtonGroup 
        type="plain"
        submitText="取消登录"
        color="#1C1F23"
        @handleTap="handleCancel"
      />
    </view>
  </view>
</template>
<script src="./indexMod.js" />
<style src="./indexStyle.scss" lang="scss" scoped>
</style>